package com.ruoyi.property.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 二手房源列表对象 t_property
 * 
 * @author ruoyi
 * @date 2025-09-11
 */
@Data
public class TProperty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房源ID */
    private Long propertyId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private Long residentialId;

    /** 地址 */
    @Excel(name = "地址")
    private String propertyAddress;

    /** 标题 */
    @Excel(name = "标题")
    private String propertyTitle;

    /** 面积 */
    @Excel(name = "面积")
    private Long propertyArea;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal propertyPrice;

    /** 排序 */
    @Excel(name = "排序")
    private Long propertySorting;

    /** 状态 */
    @Excel(name = "状态")
    private Long propertyStatus;


    /** 小区名称 */
    @Excel(name = "小区名称")
    private String residentialName;

    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }

    public void setResidentialId(Long residentialId) 
    {
        this.residentialId = residentialId;
    }

    public Long getResidentialId() 
    {
        return residentialId;
    }

    public void setPropertyAddress(String propertyAddress) 
    {
        this.propertyAddress = propertyAddress;
    }

    public String getPropertyAddress() 
    {
        return propertyAddress;
    }

    public void setPropertyTitle(String propertyTitle) 
    {
        this.propertyTitle = propertyTitle;
    }

    public String getPropertyTitle() 
    {
        return propertyTitle;
    }

    public void setPropertyArea(Long propertyArea) 
    {
        this.propertyArea = propertyArea;
    }

    public Long getPropertyArea() 
    {
        return propertyArea;
    }

    public void setPropertyPrice(BigDecimal propertyPrice) 
    {
        this.propertyPrice = propertyPrice;
    }

    public BigDecimal getPropertyPrice() 
    {
        return propertyPrice;
    }

    public void setPropertySorting(Long propertySorting) 
    {
        this.propertySorting = propertySorting;
    }

    public Long getPropertySorting() 
    {
        return propertySorting;
    }

    public void setPropertyStatus(Long propertyStatus) 
    {
        this.propertyStatus = propertyStatus;
    }

    public Long getPropertyStatus() 
    {
        return propertyStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("propertyId", getPropertyId())
            .append("residentialId", getResidentialId())
            .append("propertyAddress", getPropertyAddress())
            .append("propertyTitle", getPropertyTitle())
            .append("propertyArea", getPropertyArea())
            .append("propertyPrice", getPropertyPrice())
            .append("propertySorting", getPropertySorting())
            .append("propertyStatus", getPropertyStatus())
            .toString();
    }
}
